package com.cdd.common.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 金币兑换钻石套餐包
 */
@Data
@TableName("exchange_gold_diamonds")
public class ExchangeGoldDiamonds implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String image;

    private String descript;

    //所需金币
    private BigDecimal goldCoin;
    //到账钻石
    private BigDecimal diamonds;

    @TableField(exist = false)
    private String goldCoinStr;
    @TableField(exist = false)
    private String diamondsStr;
}
